

gen wbcode=""
replace wbcode="AFG" if country=="Afghanistan"
replace wbcode="AFG" if country=="AFGANISTAN"
replace wbcode="AFG" if country=="Afghanistan, Islamic Republic of" 
replace wbcode="ALB" if country=="Albania"
replace wbcode="DZA" if country=="Algeria"
replace wbcode="ASM" if country=="American Samoa"
replace wbcode="ADO" if country=="Andorra"
replace wbcode="ADO" if country=="ANDORRA"
replace wbcode="AGO" if country=="Angola"
replace wbcode="AIA" if country=="Anguilla"
replace wbcode="ATG" if country=="Antigua & Barbuda"
replace wbcode="ATG" if country=="Antigua and Barbuda"
replace wbcode="ARG" if country=="Argentina"
replace wbcode="ARM" if country=="Armenia"
replace wbcode="ABW" if country=="Aruba"
replace wbcode="ABW" if country=="ARUBA"
replace wbcode="AUS" if country=="Australia"
replace wbcode="AUS" if country=="AUSTRALIA"
replace wbcode="AUT" if country=="AUSTRIA"
replace wbcode="AUT" if country=="Austria"
replace wbcode="AZE" if country=="Azerbaijan"
replace wbcode="AZE" if country=="Azerbaijan, Republic of"
replace wbcode="BHS" if country=="Bahamas"
replace wbcode="BHS" if country=="Bahamas, The"
replace wbcode="BHR" if country=="Bahrain"
replace wbcode="BHR" if country=="Bahrain, Kingdom of"
replace wbcode="BGD" if country=="Bangladesh"
replace wbcode="BRB" if country=="Barbados"
replace wbcode="BLR" if country=="Belarus"
replace wbcode="BEL" if country=="Belgium"
replace wbcode="BLX" if country=="Belgium-Luxembourg"
replace wbcode="BLX" if country=="Belgium and Luxembourg"
replace wbcode="BLZ" if country=="Belize"
replace wbcode="BEN" if country=="Benin"
replace wbcode="BMU" if country=="Bermuda"
replace wbcode="BTN" if country=="Bhutan"
replace wbcode="BOL" if country=="Bolivia"
replace wbcode="BOL" if country=="Bolivia (Plurinational State of)"
replace wbcode="BIH" if country=="Bosnia & Herzegovina"
replace wbcode="BIH" if country=="Bosnia and Herzegovina"
replace wbcode="BIH" if country=="Bosnia-Herzegovina"
replace wbcode="BWA" if country=="Botswana"
replace wbcode="BRA" if country=="Brazil"
replace wbcode="BRN" if country=="Brunei"
replace wbcode="BRN" if country=="Brunei Darussalam"
replace wbcode="BGR" if country=="Bulgaria"
replace wbcode="BFA" if country=="Burkina Faso"
replace wbcode="BFA" if country=="BurkinaFaso"
replace wbcode="BDI" if country=="Burundi"
replace wbcode="KHM" if country=="Cambodia"
replace wbcode="CMR" if country=="Cameroon"
replace wbcode="CAN" if country=="Canada"
replace wbcode="CPV" if country=="Cape Verde"
replace wbcode="CPV" if country=="Cabo Verde"
replace wbcode="CYM" if country=="Cayman Islands"
replace wbcode="CAF" if country=="Central African Republic"
replace wbcode="CAF" if country=="Central African Rep."
replace wbcode="TCD" if country=="Chad"
replace wbcode="CHI" if country=="Channel Islands"
replace wbcode="CHL" if country=="Chile"
replace wbcode="CHN" if country=="China"
replace wbcode="CHN" if country=="China, P.R.: Mainland"
replace wbcode="CHN" if country=="China, mainland"
replace wbcode="CHN" if country=="China mainland"
replace wbcode="COL" if country=="Colombia"
replace wbcode="COK" if country=="Cook Islands"
replace wbcode="COM" if country=="Comoros"
replace wbcode="ZAR" if country=="Congo, Dem. Rep, Of"
replace wbcode="ZAR" if country=="Congo, Dem. Rep. of"
replace wbcode="ZAR" if country=="Congo, Dem. Rep."
replace wbcode="ZAR" if country=="Congo DR"
replace wbcode="ZAR" if country=="Congo, DRC"
replace wbcode="ZAR" if country=="Congo, Democratic Republic of"
replace wbcode="ZAR" if country=="Congo, Dem Republic of"
replace wbcode="ZAR" if country=="Congo, Democratic Republic"
replace wbcode="ZAR" if country=="Democratic Rep. of the Congo"
replace wbcode="ZAR" if country=="Congo-Kinshasa"
replace wbcode="ZAR" if country=="Congo Kinshasa"
replace wbcode="ZAR" if country=="Democratic Republic of the Congo"
replace wbcode="ZAR" if country=="Congo (Democratic Republic)"
replace wbcode="ZAR" if country=="Dem. Rep. of the Congo"
replace wbcode="ZAR" if country=="Zaire"
replace wbcode="COG" if country=="Congo Brazzaville"
replace wbcode="COG" if country=="Congo-Brazzaville"
replace wbcode="COG" if country=="Congo, Rep."
replace wbcode="COG" if country=="Congo, Republic"
replace wbcode="COG" if country=="Congo, Republic Of"
replace wbcode="COG" if country=="Congo, Republic of"
replace wbcode="COG" if country=="Congo"
replace wbcode="CRI" if country=="Costa Rica"
replace wbcode="CIV" if country=="Ivory Coast"
replace wbcode="CIV" if country=="Cote D'Ivoire"
replace wbcode="CIV" if country=="Côte d'Ivoire"
replace wbcode="CIV" if country=="Cote D Ivoire"
replace wbcode="CIV" if country=="Cote d'Ivoire"
replace wbcode="CIV" if country=="C?te d'Ivoire"
replace wbcode="CIV" if country=="C?te d Ivoire"
replace wbcode="CIV" if country=="C??te d Ivoire"
replace wbcode="CIV" if country=="CÙte d'Ivoire"
replace wbcode="CIV" if country=="CÃ´te d'Ivoire"
replace wbcode="HRV" if country=="Croatia"
replace wbcode="CUB" if country=="Cuba"
replace wbcode="CYP" if country=="Cyprus"
replace wbcode="CZE" if country=="Czech Republic"
replace wbcode="CZE" if country=="Czechia"
replace wbcode="DNK" if country=="Denmark"
replace wbcode="DJI" if country=="Djibouti"
replace wbcode="DMA" if country=="Dominica"
replace wbcode="DOM" if country=="Dominican Republic"
replace wbcode="ECU" if country=="Ecuador"
replace wbcode="EGY" if country=="Egypt, Arab Rep."
replace wbcode="EGY" if country=="Egypt, Arab Rep."
replace wbcode="EGY" if country=="Egypt"
replace wbcode="SLV" if country=="El Salvador"
replace wbcode="GNQ" if country=="Equatorial Guinea"
replace wbcode="GNQ" if country=="Eq.Guinea"
replace wbcode="ERI" if country=="Eritrea"
replace wbcode="EST" if country=="Estonia"
replace wbcode="ETH" if country=="Ethiopia"
replace wbcode="ETH" if country=="Ethiopia and Eritrea"
replace wbcode="ETH" if country=="Ethiopia (former w/ Eritrea)"
replace wbcode="ETH" if country=="Ethiopia (former)"
replace wbcode="ETH" if country=="Ethiopia PDR" 
replace wbcode="FLK" if country=="Falkland Islands"
replace wbcode="FRO" if country=="Faeore Islands"
replace wbcode="FRO" if country=="Faeroe Islands"
replace wbcode="FJI" if country=="Fiji"
replace wbcode="FJI" if country=="Fiji Islands"
replace wbcode="FIN" if country=="Finland"
replace wbcode="FRA" if country=="France"
replace wbcode="PYF" if country=="French Polynesia"
replace wbcode="GAB" if country=="Gabon"
replace wbcode="GMB" if country=="Gambia, The"
replace wbcode="GMB" if country=="Gambia"
replace wbcode="GEO" if country=="Georgia"
replace wbcode="DEU" if country=="Germany"
replace wbcode="DEU" if country=="Germany (Eastern Part)"
replace wbcode="DEU" if country=="Germany (Western Part)"
replace wbcode="DEU" if country=="Germany (former West)"
replace wbcode="DEU" if country=="Germany, Fed.Rep"
replace wbcode="DEU" if country=="Germany, Federal Rep"
replace wbcode="DEU" if country=="Germany Federal Republic"
replace wbcode="GHA" if country=="Ghana"
replace wbcode="DEU" if country=="Germany"
replace wbcode="GIB" if country=="Gibraltar"
replace wbcode="GRC" if country=="Greece"
replace wbcode="GRL" if country=="Greenland"
replace wbcode="GRD" if country=="Grenada"
replace wbcode="GUM" if country=="Guam"
replace wbcode="GTM" if country=="Guatemala"
replace wbcode="GIN" if country=="Guinea"
replace wbcode="GNB" if country=="Guinea-Bissaau"
replace wbcode="GNB" if country=="Guinea-Bissau"
replace wbcode="GUY" if country=="Guyana"
replace wbcode="HTI" if country=="Haiti"
replace wbcode="HND" if country=="Honduras"
replace wbcode="HKG" if country=="China, P.R.: Hong Kong"
replace wbcode="HKG" if country=="Hong Kong, China"
replace wbcode="HKG" if country=="China (Hong Kong SAR)"
replace wbcode="HKG" if country=="Hong Kong SAR, China"
replace wbcode="HKG" if country=="China,P.R.:Hong Kong" 
replace wbcode="HKG" if country=="China, Hong Kong SAR " 
replace wbcode="HKG" if country=="     China, Hong Kong SAR" 
replace wbcode="HKG" if country=="China, Hong Kong SAR" 
replace wbcode="HKG" if country=="China Hong Kong SAR" 
replace wbcode="HKG" if country=="Hong Kong" 
replace wbcode="HKG" if country=="China, Hong Kong Special Administrative Region"
replace wbcode="HUN" if country=="Hungary"
replace wbcode="ISL" if country=="Iceland"
replace wbcode="IND" if country=="India"
replace wbcode="IDN" if country=="Indonesia"
replace wbcode="IRN" if country=="Iran, Islamic Rep."
replace wbcode="IRN" if country=="Iran, Islamic Republic of " 
replace wbcode="IRN" if country=="Iran, I.R. of" 
replace wbcode="IRN" if country=="Iran" 
replace wbcode="IRN" if country=="Iran, Islamic Republic of"
replace wbcode="IRN" if country=="Iran, Islamic Rep of"
replace wbcode="IRN" if country=="Iran (Islamic Republic of)"
replace wbcode="IRQ" if country=="Iraq"
replace wbcode="IRL" if country=="Ireland"
replace wbcode="IMY" if country=="Isle of Man"
replace wbcode="ISR" if country=="Israel"
replace wbcode="ITA" if country=="Italy"
replace wbcode="JAM" if country=="Jamaica"
replace wbcode="JPN" if country=="Japan"
replace wbcode="JOR" if country=="Jordan"
replace wbcode="JOR" if country=="Jordan (East Bank only)"
replace wbcode="KAZ" if country=="Kazakhstan"
replace wbcode="KAZ" if country=="Kazakstan"
replace wbcode="KEN" if country=="Kenya"
replace wbcode="KIR" if country=="Kiribati"
replace wbcode="PRK" if country=="Korea, Dem. Rep."
replace wbcode="PRK" if country=="Korea D.P.R"
replace wbcode="PRK" if country=="Korea, Democratic People's Republic of"
replace wbcode="PRK" if country=="Korea, Dem People's Rep"
replace wbcode="PRK" if country=="North Korea"
replace wbcode="PRK" if country=="Korea North"
replace wbcode="PRK" if country=="Democratic People's Republic of Korea"
replace wbcode="PRK" if country=="Democratic People s Republic of Korea"
replace wbcode="KOR" if country=="Korea, Rep."
replace wbcode="KOR" if country=="Korea Rep"
replace wbcode="KOR" if country=="Korea"
replace wbcode="KOR" if country=="Korea South"
replace wbcode="KOR" if country=="South Korea"
replace wbcode="KOR" if country=="Korea, Republic Of" 
replace wbcode="KOR" if country=="Korea, Republic of " 
replace wbcode="KOR" if country=="Korea, Republic of" 
replace wbcode="KOR" if country=="Korea, Republic of (South)"
replace wbcode="KOR" if country=="Republic of Korea" 
replace wbcode="KWT" if country=="Kuwait"
replace wbcode="KGZ" if country=="Kyrgyz Republic"
replace wbcode="KGZ" if country=="Kyrgyzstan"
replace wbcode="KGZ" if country=="Kirghizia"
replace wbcode="LAO" if country=="Lao PDR"
replace wbcode="LAO" if country=="Laos"
replace wbcode="LAO" if country=="Lao P.D.R."
replace wbcode="LAO" if country=="Laos PDR"
replace wbcode="LAO" if country=="Lao People's Democratic Republic"
replace wbcode="LAO" if country=="Lao People S Dem.Rep"
replace wbcode="LAO" if country=="Lao People's Dem.Rep"
replace wbcode="LAO" if country=="Lao People's Dem. Republic"
replace wbcode="LAO" if country=="Lao People's Dem. Rep."
replace wbcode="LAO" if country=="Lao People s Democratic Republic"
replace wbcode="LVA" if country=="Latvia"
replace wbcode="LBN" if country=="Lebanon"
replace wbcode="LSO" if country=="Lesotho"
replace wbcode="LBR" if country=="Liberia"
replace wbcode="LBY" if country=="Libya"
replace wbcode="LBY" if country=="Libyan Arab Jamahiriya"
replace wbcode="LIE" if country=="Liechtenstein"
replace wbcode="LTU" if country=="Lithuania"
replace wbcode="LUX" if country=="Luxembourg"
replace wbcode="MAC" if country=="China, P.R.: Macao"
replace wbcode="MAC" if country=="Macao, China"
replace wbcode="MAC" if country=="China, Macao SAR"
replace wbcode="MAC" if country=="Macao SAR, China"
replace wbcode="MAC" if country=="China,P.R.:Macao"
replace wbcode="MAC" if country=="     China, Macao SAR"
replace wbcode="MAC" if country=="China (Macao SAR)"
replace wbcode="MAC" if country=="China Macao SAR"
replace wbcode="MAC" if country=="Macao"
replace wbcode="MAC" if country=="China, Macao Special Administrative Region"
replace wbcode="MKD" if country=="Macedonia"
replace wbcode="MKD" if country=="Macedonia, Fyr"
replace wbcode="MKD" if country=="Macedonia, FYR"
replace wbcode="MKD" if country=="Macedonia (FYROM)"
replace wbcode="MKD" if country=="TFYR of Macedonia"
replace wbcode="MKD" if country=="Macedonia,The Fmr Yug Rp"
replace wbcode="MDG" if country=="Madagascar"
replace wbcode="MWI" if country=="Malawi"
replace wbcode="MYS" if country=="Malaysia"
replace wbcode="MDV" if country=="Maldives"
replace wbcode="MLI" if country=="Mali"
replace wbcode="MLT" if country=="Malta"
replace wbcode="MHL" if country=="Marshall Islands, Rep"
replace wbcode="MHL" if country=="Marshall Islands"
replace wbcode="MRT" if country=="Mauritania"
replace wbcode="MUS" if country=="Mauritius"
replace wbcode="MYT" if country=="Mayotte"
replace wbcode="MEX" if country=="Mexico"
replace wbcode="FSM" if country=="Micronesia, Fed.Sts."
replace wbcode="FSM" if country=="Micronesia, Fed. Sts."
replace wbcode="FSM" if country=="Micronesia, Fed States of"
replace wbcode="FSM" if country=="Micronesia"
replace wbcode="FSM" if country=="Federated States of Micronesia"
replace wbcode="MDA" if country=="Moldova"
replace wbcode="MDA" if country=="Moldova, Republic of"
replace wbcode="MDA" if country=="Republic of Moldova"
replace wbcode="MCO" if country=="Monaco"
replace wbcode="MNG" if country=="Mongolia"
replace wbcode="MNE" if country=="Montenegro, Rep. Of"
replace wbcode="MNE" if country=="Montenegro"
replace wbcode="MSR" if country=="Montserrat"
replace wbcode="MAR" if country=="Morocco"
replace wbcode="MOZ" if country=="Mozambique"
replace wbcode="MMR" if country=="Myanmar"
replace wbcode="MMR" if country=="Myanmar (Burma)"
replace wbcode="NAM" if country=="Namibia"
replace wbcode="NRU" if country=="Nauru"
replace wbcode="NPL" if country=="Nepal"
replace wbcode="NLD" if country=="Netherlands"
replace wbcode="ANT" if country=="Netherlands Antilles"
replace wbcode="NCL" if country=="New Caledonia"
replace wbcode="NZL" if country=="New Zealand"
replace wbcode="NIC" if country=="Nicaragua"
replace wbcode="NER" if country=="Niger"
replace wbcode="NGA" if country=="Nigeria"
replace wbcode="NIU" if country=="Niue"
replace wbcode="MNP" if country=="Northern Marianas"
replace wbcode="MNP" if country=="Northern Mariana Islands"
replace wbcode="MNP" if country=="Northern Mariana Is"
replace wbcode="NOR" if country=="Norway"
replace wbcode="OMN" if country=="Oman"
replace wbcode="PAK" if country=="Pakistan"
replace wbcode="PLW" if country=="Palau"
replace wbcode="PAN" if country=="Panama"
replace wbcode="PAN" if country=="Panama (w/out Canal Zone)"
replace wbcode="PNG" if country=="Papua New Guinea"
replace wbcode="PRY" if country=="Paraguay"
replace wbcode="PER" if country=="Peru"
replace wbcode="PHL" if country=="Philippines"
replace wbcode="POL" if country=="Poland"
replace wbcode="PRT" if country=="Portugal"
replace wbcode="PRI" if country=="Puerto Rico"
replace wbcode="QAT" if country=="Qatar"
replace wbcode="ROM" if country=="Romania"
replace wbcode="RUS" if country=="Russian Federation"
replace wbcode="RUS" if country=="Russia"
replace wbcode="RUS" if country=="USSR"
replace wbcode="RUS" if country=="Soviet Union"
replace wbcode="RWA" if country=="Rwanda"
replace wbcode="WSM" if country=="Samoa"
replace wbcode="SMR" if country=="San Marino"
replace wbcode="SHN" if country=="St. Helena"
replace wbcode="STP" if country=="Sao Tome and Principe"
replace wbcode="STP" if country=="Sao Tome & Principe"
replace wbcode="STP" if country=="São Tomé and Príncipe"
replace wbcode="SAU" if country=="Saudi Arabia"
replace wbcode="SEN" if country=="Senegal"
replace wbcode="YUG" if country=="Serbia and Montenegro (formerly Yugoslavia)"
replace wbcode="YUG" if country=="Serbia and Montenegro"
replace wbcode="YUG" if country=="Serbia, Republic of"
replace wbcode="YUG" if country=="Serbia"
replace wbcode="YUG" if country=="Yugoslavia"
replace wbcode="SYC" if country=="Seychelles"
replace wbcode="SLE" if country=="Sierra Leone"
replace wbcode="SGP" if country=="Singapore"
replace wbcode="SVK" if country=="Slovak Republic"
replace wbcode="SVK" if country=="Slovakia"
replace wbcode="SVN" if country=="Slovenia"
replace wbcode="SLB" if country=="Solomon Islands"
replace wbcode="SOM" if country=="Somalia"
replace wbcode="ZAF" if country=="South Africa"
replace wbcode="ESP" if country=="Spain"
replace wbcode="LKA" if country=="Sri Lanka"
replace wbcode="KNA" if country=="St Kitts and Nevis"
replace wbcode="KNA" if country=="St. Kitts And Nevis"
replace wbcode="KNA" if country=="St. Kitts and Nevis"
replace wbcode="KNA" if country=="St. Kitts-Nevis"
replace wbcode="LCA" if country=="Saint Lucia"
replace wbcode="LCA" if country=="St. Lucia"
replace wbcode="LCA" if country=="St Lucia"
replace wbcode="VCT" if country=="St. Vincent & Grens."
replace wbcode="VCT" if country=="St Vincent"
replace wbcode="VCT" if country=="St. Vincent and the Grenadines"
replace wbcode="VCT" if country=="St. Vincent & Grenadines"
replace wbcode="VCT" if country=="St.Vincent & Grenadines"
replace wbcode="VCT" if country=="Saint Vincent and the Grenadines"
replace wbcode="VCT" if country=="Saint Vincent & the Grenadines"
replace wbcode="SDN" if country=="Sudan"
replace wbcode="SDN" if country=="Sudan (former)"
replace wbcode="SUR" if country=="Suriname"
replace wbcode="SWZ" if country=="Eswatini"
replace wbcode="SWZ" if country=="Swaziland"
replace wbcode="SWE" if country=="Sweden"
replace wbcode="CHE" if country=="Switzerland"
replace wbcode="SYR" if country=="Syrian Arab Republic"
replace wbcode="SYR" if country=="Syria"
replace wbcode="TJK" if country=="Tajikistan"
replace wbcode="TJK" if country=="Tadzhikistan"
replace wbcode="TZA" if country=="Tanzania"
replace wbcode="TZA" if country=="United Republic of Tanzania"
replace wbcode="TZA" if country=="Tanzania, United Republic of"
replace wbcode="TZA" if country=="Tanzania, United Rep of"
replace wbcode="THA" if country=="Thailand"
replace wbcode="TMP" if country=="Timor-Leste"
replace wbcode="TGO" if country=="Togo"
replace wbcode="TON" if country=="Tonga"
replace wbcode="TKL" if country=="Tokelau"
replace wbcode="TTO" if country=="Trinidad and Tobago"
replace wbcode="TTO" if country=="Trinidad & Tobago"
replace wbcode="TUN" if country=="Tunisia"
replace wbcode="TUR" if country=="Turkey"
replace wbcode="TCA" if country=="Turks & Caicos Islands"
replace wbcode="TKM" if country=="Turkmenistan"
replace wbcode="TUV" if country=="Tuvalu"
replace wbcode="TWN" if country=="China (Taiwan Province)"
replace wbcode="TWN" if country=="China Taiwan Province of"
replace wbcode="TWN" if country=="Taiwan"
replace wbcode="TWN" if country=="Taiwan, Province of China"
replace wbcode="TWN" if country=="     China, Taiwan Province of"
replace wbcode="TWN" if country=="Chinese Taipei"
replace wbcode="TWN" if country=="China, Taiwan Province of"
replace wbcode="UGA" if country=="Uganda"
replace wbcode="UKR" if country=="Ukraine"
replace wbcode="ARE" if country=="UAE"
replace wbcode="ARE" if country=="United Arab Emirates"
replace wbcode="GBR" if country=="United Kingdom"
replace wbcode="USA" if country=="United States"
replace wbcode="USA" if country=="United States of America"
replace wbcode="URY" if country=="Uruguay"
replace wbcode="UZB" if country=="Uzbekistan"
replace wbcode="UZB" if country=="Uzbekstan"
replace wbcode="VUT" if country=="Vanuatu"
replace wbcode="VEN" if country=="Venezuela, RB"
replace wbcode="VEN" if country=="Venezuela, Bolivarian Republic of"
replace wbcode="VEN" if country=="Venezuela, Bolivar Rep of"
replace wbcode="VEN" if country=="Venezuela, Rep. Bol."
replace wbcode="VEN" if country=="Venezuela"
replace wbcode="VEN" if country=="Venezuela (Bolivarian Republic of)"
replace wbcode="VNM" if country=="Vietnam"
replace wbcode="VNM" if country=="Viet Nam"
replace wbcode="VIR" if country=="United States Virgin Islands"
replace wbcode="VIR" if country=="US Virgin Islands"
replace wbcode="VIR" if country=="Virgin Islands (U.S.)"
replace wbcode="VGB" if country=="British Virgin Islands"
replace wbcode="VGB" if country=="Virgin Islands (UK)"
replace wbcode="WLF" if country=="Wallis & Futuna"
replace wbcode="WBG" if country=="West Bank and Gaza"
replace wbcode="WBG" if country=="Palestinian Adm. Areas"
replace wbcode="YEM" if country=="Yemen, Rep."
replace wbcode="YEM" if country=="Yemen, Republic Of"
replace wbcode="YEM" if country=="Yemen, Republic of"
replace wbcode="YEM" if country=="Yemen"
replace wbcode="YNO" if country=="Yemen (Northern Part)"
replace wbcode="YSO" if country=="Yemen (Southern Part)"
replace wbcode="YNO" if country=="Yemen Arab Republic (North)"
replace wbcode="ZMB" if country=="Zambia"
replace wbcode="ZWE" if country=="Zimbabwe"


replace wbcode="AAA" if country=="Africa, regional"
replace wbcode="BBB" if country=="All Recipients"
replace wbcode="CCC" if country=="America, regional"
replace wbcode="DDD" if country=="Asia, regional"
replace wbcode="EEE" if country=="Central Asia, regional"
replace wbcode="FFF" if country=="Europe, regional"
replace wbcode="GGG" if country=="Far East Asia, regional"
replace wbcode="HHH" if country=="LDCs, Total (Least Developed)"
replace wbcode="III" if country=="LMICs, Total (Low Middle Income)"
replace wbcode="JJJ" if country=="MADCT Unallocated"
replace wbcode="KKK" if country=="MADCT, Total"
replace wbcode="LLL" if country=="Middle East, regional"
replace wbcode="MMM" if country=="N. & C. America, regional"
replace wbcode="NNN" if country=="North of Sahara, regional"
replace wbcode="OOO" if country=="OLICs, Total (Other Low Income)"
replace wbcode="PPP" if country=="Oceania, regional"
replace wbcode="QQQ" if country=="Part I Unallocated by income"
replace wbcode="RRR" if country=="Part I Unspecified Region"
replace wbcode="SSS" if country=="South & C.Asia, regional"
replace wbcode="TTT" if country=="South America, regional"
replace wbcode="UUU" if country=="South Asia, regional"
replace wbcode="VVV" if country=="South of Sahara, regional"
replace wbcode="WWW" if country=="Sts Ex-Yugo. Unspec."
replace wbcode="XXX" if country=="UMICs, Total (Upper Middle Income)"
replace wbcode="YYY" if country=="West Indies, regional"


replace wbcode="AAA" if country=="01  World"
replace wbcode="BBB" if country=="02  Low income"
replace wbcode="CCC" if country=="03  Middle income"
replace wbcode="DDD" if country=="04  Lower middle income"
replace wbcode="EEE" if country=="05  Upper middle income"
replace wbcode="FFF" if country=="06  Low & middle income"
replace wbcode="GGG" if country=="07  East Asia & Pacific"
replace wbcode="HHH" if country=="08  Europe & Central Asia"
replace wbcode="III" if country=="09  Latin America & Caribbean"
replace wbcode="JJJ" if country=="10  Middle East & North Africa"
replace wbcode="KKK" if country=="11  South Asia"
replace wbcode="LLL" if country=="12  Sub-Saharan Africa"
replace wbcode="MMM" if country=="13  High income"
replace wbcode="NNN" if country=="14  Euro area"
replace wbcode="OOO" if country=="15  High income: OECD"
replace wbcode="PPP" if country=="16  High income: nonOECD"
replace wbcode="QQQ" if country=="17  Heavily indebted poor countries (HIPC)"
replace wbcode="RRR" if country=="18  Least developed countries: UN classification"

